name = "小明"

age = input("Enter your age: ")

def is_valid_int(age):
    try:
        int(age)
        return True
    except ValueError:
        return False

if is_valid_int(age):
    a = int(age)
    print(f"{name} 岁数是 {a}")
    print(f"{name} 岁数是 {a + 5}")
else:
    print("请输入整数")

while age == "":
    if age != "":
        a = int(age)
        print(f"{name} 岁数是 {a}")
        print(f"{name} 岁数是 {a + 5}")
        break
    else:
        print("请输入整数")
    age = input("Enter your age: ")


# aaa
aaa = 123